package com.hunter.sign.dao.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class SignUserContractExample implements Serializable {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private static final long serialVersionUID = 1L;

    public SignUserContractExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria implements Serializable {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andUserContractIdIsNull() {
            addCriterion("user_contract_id is null");
            return (Criteria) this;
        }

        public Criteria andUserContractIdIsNotNull() {
            addCriterion("user_contract_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserContractIdEqualTo(Long value) {
            addCriterion("user_contract_id =", value, "userContractId");
            return (Criteria) this;
        }

        public Criteria andUserContractIdNotEqualTo(Long value) {
            addCriterion("user_contract_id <>", value, "userContractId");
            return (Criteria) this;
        }

        public Criteria andUserContractIdGreaterThan(Long value) {
            addCriterion("user_contract_id >", value, "userContractId");
            return (Criteria) this;
        }

        public Criteria andUserContractIdGreaterThanOrEqualTo(Long value) {
            addCriterion("user_contract_id >=", value, "userContractId");
            return (Criteria) this;
        }

        public Criteria andUserContractIdLessThan(Long value) {
            addCriterion("user_contract_id <", value, "userContractId");
            return (Criteria) this;
        }

        public Criteria andUserContractIdLessThanOrEqualTo(Long value) {
            addCriterion("user_contract_id <=", value, "userContractId");
            return (Criteria) this;
        }

        public Criteria andUserContractIdIn(List<Long> values) {
            addCriterion("user_contract_id in", values, "userContractId");
            return (Criteria) this;
        }

        public Criteria andUserContractIdNotIn(List<Long> values) {
            addCriterion("user_contract_id not in", values, "userContractId");
            return (Criteria) this;
        }

        public Criteria andUserContractIdBetween(Long value1, Long value2) {
            addCriterion("user_contract_id between", value1, value2, "userContractId");
            return (Criteria) this;
        }

        public Criteria andUserContractIdNotBetween(Long value1, Long value2) {
            addCriterion("user_contract_id not between", value1, value2, "userContractId");
            return (Criteria) this;
        }

        public Criteria andContractIdIsNull() {
            addCriterion("contract_id is null");
            return (Criteria) this;
        }

        public Criteria andContractIdIsNotNull() {
            addCriterion("contract_id is not null");
            return (Criteria) this;
        }

        public Criteria andContractIdEqualTo(Long value) {
            addCriterion("contract_id =", value, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdNotEqualTo(Long value) {
            addCriterion("contract_id <>", value, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdGreaterThan(Long value) {
            addCriterion("contract_id >", value, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdGreaterThanOrEqualTo(Long value) {
            addCriterion("contract_id >=", value, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdLessThan(Long value) {
            addCriterion("contract_id <", value, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdLessThanOrEqualTo(Long value) {
            addCriterion("contract_id <=", value, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdIn(List<Long> values) {
            addCriterion("contract_id in", values, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdNotIn(List<Long> values) {
            addCriterion("contract_id not in", values, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdBetween(Long value1, Long value2) {
            addCriterion("contract_id between", value1, value2, "contractId");
            return (Criteria) this;
        }

        public Criteria andContractIdNotBetween(Long value1, Long value2) {
            addCriterion("contract_id not between", value1, value2, "contractId");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Long value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Long value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Long value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Long value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Long value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Long> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Long> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Long value1, Long value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Long value1, Long value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserFingerprintImgIsNull() {
            addCriterion("user_fingerprint_img is null");
            return (Criteria) this;
        }

        public Criteria andUserFingerprintImgIsNotNull() {
            addCriterion("user_fingerprint_img is not null");
            return (Criteria) this;
        }

        public Criteria andUserFingerprintImgEqualTo(String value) {
            addCriterion("user_fingerprint_img =", value, "userFingerprintImg");
            return (Criteria) this;
        }

        public Criteria andUserFingerprintImgNotEqualTo(String value) {
            addCriterion("user_fingerprint_img <>", value, "userFingerprintImg");
            return (Criteria) this;
        }

        public Criteria andUserFingerprintImgGreaterThan(String value) {
            addCriterion("user_fingerprint_img >", value, "userFingerprintImg");
            return (Criteria) this;
        }

        public Criteria andUserFingerprintImgGreaterThanOrEqualTo(String value) {
            addCriterion("user_fingerprint_img >=", value, "userFingerprintImg");
            return (Criteria) this;
        }

        public Criteria andUserFingerprintImgLessThan(String value) {
            addCriterion("user_fingerprint_img <", value, "userFingerprintImg");
            return (Criteria) this;
        }

        public Criteria andUserFingerprintImgLessThanOrEqualTo(String value) {
            addCriterion("user_fingerprint_img <=", value, "userFingerprintImg");
            return (Criteria) this;
        }

        public Criteria andUserFingerprintImgLike(String value) {
            addCriterion("user_fingerprint_img like", value, "userFingerprintImg");
            return (Criteria) this;
        }

        public Criteria andUserFingerprintImgNotLike(String value) {
            addCriterion("user_fingerprint_img not like", value, "userFingerprintImg");
            return (Criteria) this;
        }

        public Criteria andUserFingerprintImgIn(List<String> values) {
            addCriterion("user_fingerprint_img in", values, "userFingerprintImg");
            return (Criteria) this;
        }

        public Criteria andUserFingerprintImgNotIn(List<String> values) {
            addCriterion("user_fingerprint_img not in", values, "userFingerprintImg");
            return (Criteria) this;
        }

        public Criteria andUserFingerprintImgBetween(String value1, String value2) {
            addCriterion("user_fingerprint_img between", value1, value2, "userFingerprintImg");
            return (Criteria) this;
        }

        public Criteria andUserFingerprintImgNotBetween(String value1, String value2) {
            addCriterion("user_fingerprint_img not between", value1, value2, "userFingerprintImg");
            return (Criteria) this;
        }

        public Criteria andWitnessFingerprintImgIsNull() {
            addCriterion("witness_fingerprint_img is null");
            return (Criteria) this;
        }

        public Criteria andWitnessFingerprintImgIsNotNull() {
            addCriterion("witness_fingerprint_img is not null");
            return (Criteria) this;
        }

        public Criteria andWitnessFingerprintImgEqualTo(String value) {
            addCriterion("witness_fingerprint_img =", value, "witnessFingerprintImg");
            return (Criteria) this;
        }

        public Criteria andWitnessFingerprintImgNotEqualTo(String value) {
            addCriterion("witness_fingerprint_img <>", value, "witnessFingerprintImg");
            return (Criteria) this;
        }

        public Criteria andWitnessFingerprintImgGreaterThan(String value) {
            addCriterion("witness_fingerprint_img >", value, "witnessFingerprintImg");
            return (Criteria) this;
        }

        public Criteria andWitnessFingerprintImgGreaterThanOrEqualTo(String value) {
            addCriterion("witness_fingerprint_img >=", value, "witnessFingerprintImg");
            return (Criteria) this;
        }

        public Criteria andWitnessFingerprintImgLessThan(String value) {
            addCriterion("witness_fingerprint_img <", value, "witnessFingerprintImg");
            return (Criteria) this;
        }

        public Criteria andWitnessFingerprintImgLessThanOrEqualTo(String value) {
            addCriterion("witness_fingerprint_img <=", value, "witnessFingerprintImg");
            return (Criteria) this;
        }

        public Criteria andWitnessFingerprintImgLike(String value) {
            addCriterion("witness_fingerprint_img like", value, "witnessFingerprintImg");
            return (Criteria) this;
        }

        public Criteria andWitnessFingerprintImgNotLike(String value) {
            addCriterion("witness_fingerprint_img not like", value, "witnessFingerprintImg");
            return (Criteria) this;
        }

        public Criteria andWitnessFingerprintImgIn(List<String> values) {
            addCriterion("witness_fingerprint_img in", values, "witnessFingerprintImg");
            return (Criteria) this;
        }

        public Criteria andWitnessFingerprintImgNotIn(List<String> values) {
            addCriterion("witness_fingerprint_img not in", values, "witnessFingerprintImg");
            return (Criteria) this;
        }

        public Criteria andWitnessFingerprintImgBetween(String value1, String value2) {
            addCriterion("witness_fingerprint_img between", value1, value2, "witnessFingerprintImg");
            return (Criteria) this;
        }

        public Criteria andWitnessFingerprintImgNotBetween(String value1, String value2) {
            addCriterion("witness_fingerprint_img not between", value1, value2, "witnessFingerprintImg");
            return (Criteria) this;
        }

        public Criteria andFieldFillIsNull() {
            addCriterion("field_fill is null");
            return (Criteria) this;
        }

        public Criteria andFieldFillIsNotNull() {
            addCriterion("field_fill is not null");
            return (Criteria) this;
        }

        public Criteria andFieldFillEqualTo(String value) {
            addCriterion("field_fill =", value, "fieldFill");
            return (Criteria) this;
        }

        public Criteria andFieldFillNotEqualTo(String value) {
            addCriterion("field_fill <>", value, "fieldFill");
            return (Criteria) this;
        }

        public Criteria andFieldFillGreaterThan(String value) {
            addCriterion("field_fill >", value, "fieldFill");
            return (Criteria) this;
        }

        public Criteria andFieldFillGreaterThanOrEqualTo(String value) {
            addCriterion("field_fill >=", value, "fieldFill");
            return (Criteria) this;
        }

        public Criteria andFieldFillLessThan(String value) {
            addCriterion("field_fill <", value, "fieldFill");
            return (Criteria) this;
        }

        public Criteria andFieldFillLessThanOrEqualTo(String value) {
            addCriterion("field_fill <=", value, "fieldFill");
            return (Criteria) this;
        }

        public Criteria andFieldFillLike(String value) {
            addCriterion("field_fill like", value, "fieldFill");
            return (Criteria) this;
        }

        public Criteria andFieldFillNotLike(String value) {
            addCriterion("field_fill not like", value, "fieldFill");
            return (Criteria) this;
        }

        public Criteria andFieldFillIn(List<String> values) {
            addCriterion("field_fill in", values, "fieldFill");
            return (Criteria) this;
        }

        public Criteria andFieldFillNotIn(List<String> values) {
            addCriterion("field_fill not in", values, "fieldFill");
            return (Criteria) this;
        }

        public Criteria andFieldFillBetween(String value1, String value2) {
            addCriterion("field_fill between", value1, value2, "fieldFill");
            return (Criteria) this;
        }

        public Criteria andFieldFillNotBetween(String value1, String value2) {
            addCriterion("field_fill not between", value1, value2, "fieldFill");
            return (Criteria) this;
        }

        public Criteria andWordUrlIsNull() {
            addCriterion("word_url is null");
            return (Criteria) this;
        }

        public Criteria andWordUrlIsNotNull() {
            addCriterion("word_url is not null");
            return (Criteria) this;
        }

        public Criteria andWordUrlEqualTo(String value) {
            addCriterion("word_url =", value, "wordUrl");
            return (Criteria) this;
        }

        public Criteria andWordUrlNotEqualTo(String value) {
            addCriterion("word_url <>", value, "wordUrl");
            return (Criteria) this;
        }

        public Criteria andWordUrlGreaterThan(String value) {
            addCriterion("word_url >", value, "wordUrl");
            return (Criteria) this;
        }

        public Criteria andWordUrlGreaterThanOrEqualTo(String value) {
            addCriterion("word_url >=", value, "wordUrl");
            return (Criteria) this;
        }

        public Criteria andWordUrlLessThan(String value) {
            addCriterion("word_url <", value, "wordUrl");
            return (Criteria) this;
        }

        public Criteria andWordUrlLessThanOrEqualTo(String value) {
            addCriterion("word_url <=", value, "wordUrl");
            return (Criteria) this;
        }

        public Criteria andWordUrlLike(String value) {
            addCriterion("word_url like", value, "wordUrl");
            return (Criteria) this;
        }

        public Criteria andWordUrlNotLike(String value) {
            addCriterion("word_url not like", value, "wordUrl");
            return (Criteria) this;
        }

        public Criteria andWordUrlIn(List<String> values) {
            addCriterion("word_url in", values, "wordUrl");
            return (Criteria) this;
        }

        public Criteria andWordUrlNotIn(List<String> values) {
            addCriterion("word_url not in", values, "wordUrl");
            return (Criteria) this;
        }

        public Criteria andWordUrlBetween(String value1, String value2) {
            addCriterion("word_url between", value1, value2, "wordUrl");
            return (Criteria) this;
        }

        public Criteria andWordUrlNotBetween(String value1, String value2) {
            addCriterion("word_url not between", value1, value2, "wordUrl");
            return (Criteria) this;
        }

        public Criteria andPdfUrlIsNull() {
            addCriterion("pdf_url is null");
            return (Criteria) this;
        }

        public Criteria andPdfUrlIsNotNull() {
            addCriterion("pdf_url is not null");
            return (Criteria) this;
        }

        public Criteria andPdfUrlEqualTo(String value) {
            addCriterion("pdf_url =", value, "pdfUrl");
            return (Criteria) this;
        }

        public Criteria andPdfUrlNotEqualTo(String value) {
            addCriterion("pdf_url <>", value, "pdfUrl");
            return (Criteria) this;
        }

        public Criteria andPdfUrlGreaterThan(String value) {
            addCriterion("pdf_url >", value, "pdfUrl");
            return (Criteria) this;
        }

        public Criteria andPdfUrlGreaterThanOrEqualTo(String value) {
            addCriterion("pdf_url >=", value, "pdfUrl");
            return (Criteria) this;
        }

        public Criteria andPdfUrlLessThan(String value) {
            addCriterion("pdf_url <", value, "pdfUrl");
            return (Criteria) this;
        }

        public Criteria andPdfUrlLessThanOrEqualTo(String value) {
            addCriterion("pdf_url <=", value, "pdfUrl");
            return (Criteria) this;
        }

        public Criteria andPdfUrlLike(String value) {
            addCriterion("pdf_url like", value, "pdfUrl");
            return (Criteria) this;
        }

        public Criteria andPdfUrlNotLike(String value) {
            addCriterion("pdf_url not like", value, "pdfUrl");
            return (Criteria) this;
        }

        public Criteria andPdfUrlIn(List<String> values) {
            addCriterion("pdf_url in", values, "pdfUrl");
            return (Criteria) this;
        }

        public Criteria andPdfUrlNotIn(List<String> values) {
            addCriterion("pdf_url not in", values, "pdfUrl");
            return (Criteria) this;
        }

        public Criteria andPdfUrlBetween(String value1, String value2) {
            addCriterion("pdf_url between", value1, value2, "pdfUrl");
            return (Criteria) this;
        }

        public Criteria andPdfUrlNotBetween(String value1, String value2) {
            addCriterion("pdf_url not between", value1, value2, "pdfUrl");
            return (Criteria) this;
        }

        public Criteria andStateIsNull() {
            addCriterion("state is null");
            return (Criteria) this;
        }

        public Criteria andStateIsNotNull() {
            addCriterion("state is not null");
            return (Criteria) this;
        }

        public Criteria andStateEqualTo(Integer value) {
            addCriterion("state =", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotEqualTo(Integer value) {
            addCriterion("state <>", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThan(Integer value) {
            addCriterion("state >", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("state >=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThan(Integer value) {
            addCriterion("state <", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateLessThanOrEqualTo(Integer value) {
            addCriterion("state <=", value, "state");
            return (Criteria) this;
        }

        public Criteria andStateIn(List<Integer> values) {
            addCriterion("state in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotIn(List<Integer> values) {
            addCriterion("state not in", values, "state");
            return (Criteria) this;
        }

        public Criteria andStateBetween(Integer value1, Integer value2) {
            addCriterion("state between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andStateNotBetween(Integer value1, Integer value2) {
            addCriterion("state not between", value1, value2, "state");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Long value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Long value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Long value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Long value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Long value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Long value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Long> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Long> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Long value1, Long value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Long value1, Long value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeIsNull() {
            addCriterion("modify_time is null");
            return (Criteria) this;
        }

        public Criteria andModifyTimeIsNotNull() {
            addCriterion("modify_time is not null");
            return (Criteria) this;
        }

        public Criteria andModifyTimeEqualTo(Long value) {
            addCriterion("modify_time =", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeNotEqualTo(Long value) {
            addCriterion("modify_time <>", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeGreaterThan(Long value) {
            addCriterion("modify_time >", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeGreaterThanOrEqualTo(Long value) {
            addCriterion("modify_time >=", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeLessThan(Long value) {
            addCriterion("modify_time <", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeLessThanOrEqualTo(Long value) {
            addCriterion("modify_time <=", value, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeIn(List<Long> values) {
            addCriterion("modify_time in", values, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeNotIn(List<Long> values) {
            addCriterion("modify_time not in", values, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeBetween(Long value1, Long value2) {
            addCriterion("modify_time between", value1, value2, "modifyTime");
            return (Criteria) this;
        }

        public Criteria andModifyTimeNotBetween(Long value1, Long value2) {
            addCriterion("modify_time not between", value1, value2, "modifyTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria implements Serializable {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion implements Serializable {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}